#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

#include <math.h>
int main()
{
	for (int a = 100; a <= 200; a++)
	{
		for (int b = 2; b <= sqrt(a); b++)
		{
			if (a % b == 0)
			{
				break;
			}
			else
			{
				printf("%d\n", a);
				break;
			}
		}
	}
	return 0;
}